package org.cige.ws.edu.controller;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.minio.MinioClient;
import io.minio.ObjectStat;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.io.IOUtils;
import org.cige.ws.edu.config.MinioConfig;
import org.cige.ws.edu.model.FFileReordFileQuery;
import org.cige.ws.edu.model.FFileReordQuery;
import org.cige.ws.edu.model.PageQuery;
import org.cige.ws.edu.model.entity.FFileReord;
import org.cige.ws.edu.model.entity.FileModule;
import org.cige.ws.edu.service.FileReordService;
import org.cige.ws.edu.service.UserService;
import org.cige.ws.edu.uitl.PhoneFormatCheckUtils;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.exception.JeecgBootException;
import org.jeecg.common.util.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.servlet.ServletOutputStream;
import java.io.InputStream;
import java.util.Random;

/**
 * 文件管理
 */
@RestController
@RequestMapping("/file")
@Slf4j
public class UserController {

    @Resource
    private UserService userService;
    private static final String FORGET_PASS_SMS_CODE_PERFIX = "forget_pass_sms_code_perfix";
    private static final String LOGIN_SMS_CODE_PERFIX = "login_sms_code_perfix";
    private static final String CHANGE_PHONE_CODE_PERFIX = "change_phone_code_perfix";
    private static final String BIND_NEW_PHONE_CODE_PERFIX = "bind_new_phone_code_perfix";



}
